package com.tony;

public class Parent {
    public static int a =3;
    {
        a++;
        System.out.println("parent 方法块！:"+a);
    }
    static{
        a++;
        System.out.println("parent 静态方法块:"+a

        );
    }
    public Parent(){
        a++;
        System.out.println("parent 构造方法:"+a);
    }

    @Override
    protected void finalize() throws Throwable {
        a=a*10;
        System.out.println("parent finalize:"+a);
    }
}
